package com.example.service.impl;

import com.example.entity.ShangpinType;
import com.example.mapper.ShangpinTypeMapper;
import com.example.service.IShangpinTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShangpinTypeServiceImpl implements IShangpinTypeService {
    @Autowired
    private ShangpinTypeMapper mapper;


    @Override
    public List<ShangpinType> findAll() {
        return mapper.findAll();
    }
}
